package org.dromara.soul.web.result;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
* @Description 
* @Author hex
* @CreateDate 2020/1/19 19:13
*/
@Data
@NoArgsConstructor
public class BaseResult<T> {

	/**
	 * 200 is success other is failure
	 */
	private Integer code;

	/**
	 * code = 200 then success
	 */
	private String message;

	/**
	 * your data
	 */
	private T data;
}
